<div class="secSearch">
	<input type="hidden" name="pcancel" id="pcancel" value="0" />
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody>
            <tr>  
            	<td class="firstChild" width="25%">
                    <label for="pprovince">Tỉnh/thành:</label>
                    <select name="province" id="pprovince" onchange="this.form.submit();">
                        <option value="0">Tất cả</option>
                        {html_options options=$arrProvince selected=$smarty.session.plpost.province}
                    </select>
                </td>      
                <td width="25%">
                    <label for="poption">Tìm theo:</label>
                    <select name="option" id="poption">
                   		{html_options options=$arrOption selected=$smarty.session.plpost.option}
                    </select>
                </td>
                <td width="25%">
                    <label for="pkey">Từ khóa:</label>
                    <input type="text" name="key" id="pkey" value="{if isset($smarty.session.plpost)}{$smarty.session.plpost.key|escape}{/if}" maxlength="50"/>
                </td>                
                <td width="25%">
                    <label for="pstartdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="pstartdate" value="{if isset($smarty.session.plpost)}{$smarty.session.plpost.startdate|escape}{/if}" class="half firstItem"/>
                    <input type="text" name="enddate" id="penddate" value="{if isset($smarty.session.plpost)}{$smarty.session.plpost.enddate|escape}{/if}" class="half"/>
                </td> 
          	</tr>
            <tr>            
                <td colspan="4" align="center">
                    <input type="submit" value="Tìm kiếm" class="btn"/>
                    {if isset($smarty.session.plcancel) && $smarty.session.plcancel == 1}                
                        <input type="button" value="Thôi tìm kiếm" class="btnCancel" onclick="javascript:cancelSearch(this.form);"/>
                    {/if}
                </td>               
            </tr> 
        </tbody>
    </table>
</div>